package com.xms.configuration.service;

import java.util.HashMap;

/**
 * <p>
 * ISettingFinder
 * </p>
 *
 * @author migo
 * @since 2021/9/26
 */
public interface ISettingFactory {
    <T> T getObject(Class<T> clazz) throws InstantiationException, IllegalAccessException, NoSuchFieldException;

    <T> T getObject(Class<T> clazz, String nameSpace) throws InstantiationException, IllegalAccessException, NoSuchFieldException;

    HashMap<String, String> getKeyValues(String nameSpace);
}
